package cn.fyg.service.finance.domain.deposit;

import java.util.List;

import cn.fyg.service.finance.domain.salary.ProjectDto;
import lombok.Data;

@Data
public class DepositDto {
	private String totalInitAssistBalance;
	private String totalReceivedAmount;
	private String totalInvoiceAmount;
	private String totalUnReceivedAmount;
	private List<ProjectDto> detail;
	
	public String getInitAssistBalance() {
		return "期初总额: " + this.totalInitAssistBalance;
	}
	
	public String getTotalInvoiceAmount() {
//		return "开票金额: " + this.totalInvoiceAmount.substring(0, this.totalInvoiceAmount.length() - 6) + " 万元 ➣";
		return "结算总额: " + this.totalInvoiceAmount + " 万元 ➣";
	}
	
	public String getTotalReceivedAmount() {
//		return "已收金额: " + this.totalReceivedAmount.substring(0, this.totalReceivedAmount.length() - 6) + " 万元 ➣";
		return "已收总额: " + this.totalReceivedAmount + " 万元 ➣";
	}
	
	public String getTotalUnReceivedAmount() {
//		return "应收金额: " + this.totalUnReceivedAmount.substring(0, this.totalUnReceivedAmount.length()-6) + " 万元";
		return "应收总额: " + this.totalUnReceivedAmount + " 万元";
	}
}
